package ua.at.javac.cron;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Запуск на получение данных с серверов погоды
 * 
 * @author Michael.Michaelovich
 * @version 98
 * @since 2012
 */

@SuppressWarnings("serial")
public class Updater extends HttpServlet {
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {		
		try{
			new SortURLCurrentWeather().start();
			new SortURLGisMeteo().start();
			new SortURLMeteoprog().start();
			new SortURLPogodnik().start();
		}
		catch(Exception e){
			e.printStackTrace();
		}
	}

}
